
#include "register/tilingdata_base.h"

namespace optiling {
BEGIN_TILING_DATA_DEF(CumsumTilingData)
  TILING_DATA_FIELD_DEF(uint32_t, totalLengthAligned);
  
  TILING_DATA_FIELD_DEF(int32_t, loopCnt);
  TILING_DATA_FIELD_DEF(uint32_t, fullTileLength);
  TILING_DATA_FIELD_DEF(uint32_t, lastTileLength);
  TILING_DATA_FIELD_DEF(int32_t, fullCnt);
  TILING_DATA_FIELD_DEF(int32_t, lastCnt);
  
  TILING_DATA_FIELD_DEF(int32_t, batchCnt);
  TILING_DATA_FIELD_DEF(int32_t, axisLength);
  TILING_DATA_FIELD_DEF(int32_t, batchLength);
  TILING_DATA_FIELD_DEF(bool, exclusive);
  TILING_DATA_FIELD_DEF(bool, reverse);
  
  TILING_DATA_FIELD_DEF(uint32_t, alignNum);
  TILING_DATA_FIELD_DEF(uint32_t, typeSize);
END_TILING_DATA_DEF;

REGISTER_TILING_DATA_CLASS(Cumsum, CumsumTilingData)
}
